<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let arr = [10, 4, 3, 7]

        Math.max(...arr)
        Math.min(...arr)


        // let arr1 = [1, 2, 3];

        // let arr2 = [0, ...arr1, 4];

        // let arr4 = [...arr1, ...arr2];

        // console.log(arr4);

        // let student1 = {
        //     id: '1',
        //     name: '张三',
        //     age: 20
        // }

        // let student2 = {
        //     ...student1
        // }

        // let student3 = {
        //     ...student1,
        //     gender: '男'
        // }

        // let student4 = {
        //     id: '2',
        //     username: '王五',
        //     userAge: 30,
        // }

        // let student5 = {
        //     ...student4,
        //     ...student1,
        // }


        console.log(student5);





    </script>
</body>

</html>